added spec to test all DefinitelyTyped packages#102
added spec to test all DefinitelyTyped packages#102SrTobi wants to merge 1 commit intosjrd:masterfrom
Conversation
|
Thank you for your interest. I'm afraid there are several issues with trying to do this:
|
|
yeah, I see what you mean. I still think this is a good idea to have this, in order to find bugs. Not sure how to proceed though... there are clearly more things that have to be fixed until this will be a passing test... I would suggest to set it to ignore but then it will stiff fail for people running all tests locally. But I am right in assuming that all valid typedefinitions should be importable by this tool, right? For the issue regarding master dependencies, we could use the current hash of master. |
|
Maybe you could use a blacklist of tests that are known not to pass?
You can do it like at |
I think it's a good idea to test against the DefinitelyTyped code base.
This pr adds a spec that tries to import every project on DefinitelyTyped (output goes into a temporary file).
It yields (at the moment) 5935 test cases.

(this incorporates some of the currently open prs)
I'm not really happy with how DefinitelyTyped has to be cloned manually into the root directory at the moment. I tried to do it with sbt, but in the end the manual way was easier and works just as good 😄. I made a small script that makes it even easier